package com.ftg.learn;

import com.ftg.learn.client.CanalClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SearchApplication
        //implements CommandLineRunner
{
//    @Autowired
//    CanalClient canalClient;

    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
    }

//    @Override
//    public void run(String... args) {
//        canalClient.run();
//    }

}
